# -*- coding: utf-8 -*-
# @Time    : 2021/1/2 下午2:18
# @Author  : tgy


def myRange(start, end, step, callBack):
    ...
    val = start
    while val < end:
        callBack(val)
        val += step


def callBack(val):
    print(val)


def test01():
    ...
    """
    一个参数从 0 到num
    range(start,end,step)
    
    for(i = start;i < end; i += step) {
    
        call
    }
    """
    r = range(0, -1, -1)
    print(r)
    for i in r:
        print(i)
    # myRange(0, -1, -1, callBack)


if __name__ == '__main__':
    ...
    test01()
    print("1", 2, [1, 2], sep=',', end='#')
